home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deutsche Edition 1
/
Deutsche Edition 1.iso
/
amok
/
031-040
/
amok32
/
modlist1.3
/
intuition.def
next >
Wrap
Text File
|
1993-11-04
|
25KB
|
970 lines
DEFINITION MODULE Intuition {"intuition.library",33};
FROM SYSTEM IMPORT
ADDRESS,BITSET,BYTE,CAST,LONGSET;
FROM Exec IMPORT
Byte,Interrupt,IOStdReq,Library,List,MemReqSet,Message,
MsgPortPtr,SignalSemaphore,UByte;
FROM Graphics IMPORT
jam2,BitMap,BitMapPtr,ClipRect,DrawModeSet,GfxBasePtr,
LayerInfo,LayerPtr,RastPort,RastPortPtr,RegionPtr,
SimpleSpritePtr,TextAttr,TextAttrPtr,TextFontPtr,TmpRas,
View,ViewModeSet,ViewPort,ViewPortPtr,ViewPtr;
FROM Timer IMPORT
IOTimer,TimeVal;
FROM InputEvent IMPORT
lButton,rButton,upPrefix,InputEvent,InputEventPtr,
Qualifiers,QualifierSet;
FROM KeyMap IMPORT
KeyMapPtr;
TYPE
BorderPtr=POINTER TO Border;
GadgetPtr=POINTER TO Gadget;
ImagePtr=POINTER TO Image;
IntuiMessagePtr=POINTER TO IntuiMessage;
IntuiTextPtr=POINTER TO IntuiText;
MenuItemPtr=POINTER TO MenuItem;
MenuPtr=POINTER TO Menu;
PreferencesPtr=POINTER TO Preferences;
PropInfoPtr=POINTER TO PropInfo;
RememberPtr=POINTER TO Remember;
RequesterPtr=POINTER TO Requester;
ScreenPtr=POINTER TO Screen;
StringInfoPtr=POINTER TO StringInfo;
WindowPtr=POINTER TO Window;
CONST
menuEnabled=0;
miDrawn=8;
TYPE
Menu=RECORD
nextMenu:MenuPtr;
leftEdge:INTEGER;
topEdge:INTEGER;
width:INTEGER;
height:INTEGER;
flags:BITSET;
menuName:ADDRESS;
firstItem:MenuItemPtr;
jazzX:INTEGER;
jazzY:INTEGER;
beatX:INTEGER;
beatY:INTEGER;
END;
MenuItemFlags=(
checkIt,itemText,commSeq,menuToggle,itemEnabled,mif5,
highComp,highBox,checked,mif9,mif10,mif11,isDrawn,
highItem,menuToggled
);
MenuItemFlagSet=SET OF MenuItemFlags;
CONST
highNone=MenuItemFlagSet{highBox,highComp};
checkWidth=19;
commWidth=27;
lowCheckWidth=13;
lowCommWidth=16;
TYPE
MenuItem=RECORD
nextItem:MenuItemPtr;
leftEdge:INTEGER;
topEdge:INTEGER;
width:INTEGER;
height:INTEGER;
flags:MenuItemFlagSet;
mutualExclude:LONGSET;
itemFill:ADDRESS;
selectFill:ADDRESS;
command:CHAR;
subItem:MenuItemPtr;
nextSelect:CARDINAL;
END;
RequesterFlags=(
pointRel,preDrawn,noisyReq,rf3,rf4,rf5,rf6,rf7,rf8,rf9,
rf10,rf11,reqOffWindow,reqActive,sysRequest,deferRefresh
);
RequesterFlagSet=SET OF RequesterFlags;
Requester=RECORD
olderRequest:RequesterPtr;
leftEdge:INTEGER;
topEdge:INTEGER;
width:INTEGER;
height:INTEGER;
relLeft:INTEGER;
relTop:INTEGER;
reqGadget:GadgetPtr;
reqBorder:BorderPtr;
reqText:IntuiTextPtr;
flags:RequesterFlagSet;
backFill:UByte;
reqLayer:LayerPtr;
reqPad1:ARRAY [0..31] OF BYTE;
imageBMap:BitMapPtr;
rWindow:WindowPtr;
reqPad2:ARRAY [0..35] OF BYTE;
END;
GadgetFlags=(
gadgHBox,gadgHImage,gadgImage,gRelBottom,gRelRight,
gRelWidth,gRelHeight,selected,gadgDisabled
);
GadgetFlagSet=SET OF GadgetFlags;
ActivationFlags=(
relVerify,gadgImmediate,endGadget,followMouse,rightBorder,
leftBorder,topBorder,bottomBorder,toggleSelect,stringCenter,
stringRight,longint,altKeyMap,boolExtend
);
ActivationFlagSet=SET OF ActivationFlags;
CONST
gadgHighbits=CAST(GadgetFlagSet,03H);
gadgHNone=GadgetFlagSet{gadgHBox,gadgHImage};
boolGadget=0001H;
gadget0002=0002H;
propGadget=0003H;
strGadget=0004H;
sizing=0010H;
wDragging=0020H;
sDragging=0030H;
wUpFront=0040H;
sUpFront=0050H;
wDownBack=0060H;
sDownBack=0070H;
close=0080H;
reqGadget=1000H;
gzzGadget=2000H;
scrGadget=4000H;
sysGadget=8000H;
gadgetType=CAST(BITSET,0FC00H);
TYPE
Gadget=RECORD
nextGadget:GadgetPtr;
leftEdge:INTEGER;
topEdge:INTEGER;
width:INTEGER;
height:INTEGER;
flags:GadgetFlagSet;
activation:ActivationFlagSet;
gadgetType:CARDINAL;
gadgetRender:ADDRESS;
selectRender:ADDRESS;
gadgetText:IntuiTextPtr;
mutualExclude:LONGSET;
specialInfo:ADDRESS;
gadgetID:INTEGER;
userData:ADDRESS;
END;
CONST
boolMask=1;
TYPE
BoolInfo=RECORD
flags:BITSET;
mask:ADDRESS;
reserved:LONGCARD;
END;
PropInfoFlags=(
autoKnob,freeHoriz,freeVert,propBorderless,pf4,pf5,pf6,pf7,
knobHit
);
PropInfoFlagSet=SET OF PropInfoFlags;
CONST
knobVmin=4;
knobHmin=6;
maxBody=0FFFFH;
maxPot=0FFFFH;
TYPE
PropInfo=RECORD
flags:PropInfoFlagSet;
horizPot:CARDINAL;
vertPot:CARDINAL;
horizBody:CARDINAL;
vertBody:CARDINAL;
cWidth:CARDINAL;
cHeight:CARDINAL;
hPotRes:CARDINAL;
vPotRes:CARDINAL;
leftBorder:CARDINAL;
topBorder:CARDINAL;
END;
StringInfo=RECORD
buffer:ADDRESS;
undoBuffer:ADDRESS;
bufferPos:INTEGER;
maxChars:INTEGER;
dispPos:INTEGER;
undoPos:INTEGER;
numChars:INTEGER;
dispCount:INTEGER;
cLeft:INTEGER;
cTop:INTEGER;
layerPtr:LayerPtr;
longInt:LONGINT;
altKeyMap:KeyMapPtr;
END;
CONST
autoFrontPen=0;
autoBackPen=1;
autoDrawMode=jam2;
autoLeftEdge=6;
autoTopEdge=3;
autoITextFont=NIL;
autoNextText=NIL;
TYPE
IntuiText=RECORD
frontPen:UByte;
backPen:UByte;
drawMode:DrawModeSet;
leftEdge:INTEGER;
topEdge:INTEGER;
iTextFont:TextAttrPtr;
iText:ADDRESS;
nextText:IntuiTextPtr;
END;
Border=RECORD
leftEdge:INTEGER;
topEdge:INTEGER;
frontPen:UByte;
backPen:UByte;
drawMode:DrawModeSet;
count:UByte;
xy:ADDRESS;
nextBorder:BorderPtr;
END;
Image=RECORD
leftEdge:INTEGER;
topEdge:INTEGER;
width:INTEGER;
height:INTEGER;
depth:INTEGER;
imageData:ADDRESS;
planePick:UByte;
planeOnOff:UByte;
nextImage:ImagePtr;
END;
IDCMPFlags=(
sizeVerify,newSize,refreshWindow,mouseButtons,mouseMove,
gadgetDown,gadgetUp,reqSet,menuPick,closeWindow,rawKey,
reqVerify,reqClear,menuVerify,newPrefs,diskInserted,
diskRemoved,wbenchMessage,activeWindow,inactiveWindow,
deltaMove,vanillaKey,intuiTicks,c23,c24,c25,c26,c27,c28,
c29,c30,lonelyMessage
);
IDCMPFlagSet=SET OF IDCMPFlags;
CONST
selectUp=lButton+upPrefix; (* mouseButtons *)
selectDown=lButton;
menuUp=rButton+upPrefix;
menuDown=rButton;
menuNull=0FFFFH; (* menuPick *)
noMenu=1FH; noItem=3FH; noSub=1FH;
keyCodeQ=10H; (* rawKey *)
keyCodeX=32H;
keyCodeV=34H;
keyCodeB=35H;
keyCodeN=36H;
keyCodeM=37H;
cursorUp=4CH;
cursorDown=4DH;
cursorRight=4EH;
cursorLeft=4FH;
menuHot=1; (* menuVerify *)
menuCancel=2;
menuWaiting=3;
okOk=menuHot;
okAbort=4;
okCancel=menuCancel;
wbenchOpen=1; (* wbenchMessage *)
wbenchClose=2;
(* IntuiMessage.qualifier *)
altLeft=QualifierSet{lAlt};
altRight=QualifierSet{rAlt};
amigaLeft=QualifierSet{lCommand};
amigaRight=QualifierSet{rCommand};
amigaKeys=amigaLeft+amigaRight;
TYPE
IntuiMessage=RECORD
execMessage:Message;
class:IDCMPFlagSet;
code:CARDINAL;
qualifier:QualifierSet;
iAddress:ADDRESS;
mouseX:INTEGER;
mouseY:INTEGER;
seconds:LONGCARD;
micros:LONGCARD;
idcmpWindow:WindowPtr;
specialLink:IntuiMessagePtr;
END;
TYPE
WindowFlags=(
windowSizing,windowDrag,windowDepth,windowClose,sizeBRight,
sizeBBottom,simpleRefresh,superBitMap,backDrop,reportMouse,
gimmeZeroZero,borderless,activate,windowActive,inRequest,
menuState,rmbTrap,noCareRefresh,wf18,wf19,wf20,wf21,wf22,
wf23,windowRefresh,wbenchWindow,windowTicked,wf27,wf28,
wf29,wf30,wf31
);
WindowFlagSet=SET OF WindowFlags;
ScreenFlags=(
wbenchScreen,sf1,sf2,sf3,showTitle,beeping,customBitMap,
screenBehind,screenQuiet);
ScreenFlagSet=SET OF ScreenFlags;
CONST
otherRefresh=WindowFlagSet{simpleRefresh,superBitMap};
superUnused=WindowFlagSet{wf18..wf23,wf27..wf31};
stdScreenHeight=-1;
customScreen=ScreenFlagSet{wbenchScreen..sf3};
TYPE
NewWindow=RECORD
leftEdge:INTEGER;
topEdge:INTEGER;
width:INTEGER;
height:INTEGER;
detailPen:Byte;
blockPen:Byte;
idcmpFlags:IDCMPFlagSet;
flags:WindowFlagSet;
firstGadget:GadgetPtr;
checkMark:ImagePtr;
title:ADDRESS;
screen:ScreenPtr;
bitMap:BitMapPtr;
minWidth:INTEGER;
minHeight:INTEGER;
maxWidth:INTEGER;
maxHeight:INTEGER;
type:ScreenFlagSet;
END;
NewScreen=RECORD
leftEdge:INTEGER;
topEdge:INTEGER;
width:INTEGER;
height:INTEGER;
depth:INTEGER;
detailPen:Byte;
blockPen:Byte;
viewModes:ViewModeSet;
type:ScreenFlagSet;
font:TextAttrPtr;
defaultTitle:ADDRESS;
gadgets:GadgetPtr;
customBitMap:BitMapPtr;
END;
Window=RECORD
nextWindow:WindowPtr;
leftEdge:INTEGER;
topEdge:INTEGER;
width:INTEGER;
height:INTEGER;
mouseY:INTEGER;
mouseX:INTEGER;
minWidth:INTEGER;
minHeight:INTEGER;
maxWidth:INTEGER;
maxHeight:INTEGER;
flags:WindowFlagSet;
menuStrip:MenuPtr;
title:ADDRESS;
firstRequest:RequesterPtr;
dmRequest:RequesterPtr;
reqCount:INTEGER;
wScreen:ScreenPtr;
rPort:RastPortPtr;
borderLeft:Byte;
borderTop:Byte;
borderRight:Byte;
borderBottom:Byte;
borderRPort:RastPortPtr;
firstGadget:GadgetPtr;
parent:WindowPtr;
descendant:WindowPtr;
pointer:ADDRESS;
ptrHeight:Byte;
ptrWidth:[0..16];
xOffset:Byte;
yOffset:Byte;
idcmpFlags:IDCMPFlagSet;
userPort:MsgPortPtr;
windowPort:MsgPortPtr;
messageKey:IntuiMessagePtr;
detailPen:UByte;
blockPen:UByte;
checkMark:ImagePtr;
screenTitle:ADDRESS;
gzzMouseX:INTEGER;
gzzMouseY:INTEGER;
gzzWidth:INTEGER;
gzzHeight:INTEGER;
extData:ADDRESS;
userData:ADDRESS;
wLayer:LayerPtr;
iFont:TextFontPtr;
END;
Screen=RECORD
nextScreen:ScreenPtr;
firstWindow:WindowPtr;
leftEdge:INTEGER;
topEdge:INTEGER;
width:INTEGER;
height:INTEGER;
mouseY:INTEGER;
mouseX:INTEGER;
flags:ScreenFlagSet;
title:ADDRESS;
defaultTitle:ADDRESS;
barHeight:Byte;
barVBorder:Byte;
barHBorder:Byte;
menuVBorder:Byte;
menuHBorder:Byte;
wBorTop:Byte;
wBorLeft:Byte;
wBorRight:Byte;
wBorBottom:Byte;
font:TextAttrPtr;
viewPort:ViewPort;
rastPort:RastPort;
bitMap:BitMap;
layerInfo:LayerInfo;
firstGadget:GadgetPtr;
detailPen:UByte;
blockPen:UByte;
saveColor0:CARDINAL;
barLayer:LayerPtr;
extData:ADDRESS;
userData:ADDRESS;
END;
CONST
filenameSize=30;
pointerSize=(1+16+1)*2;
topazEighty=8;
topazSixty=9;
TYPE
PrinterPort=(parallelPrinter,serialPrinter);
PrinterType=(
customName,alphaP101,brother15XL,cbmMps1000,diab630,
diabAdvD25,diabC150,epson,epsonJX80,okimate20,QumeLP20,
hpLaserjet,hpLaserjetPlus
);
SerParShk=(
shakeXon,shakeRts,shakeNone,sps3,parityNone,parityEven,
parityOdd
);
SerParShkSet=SET OF SerParShk;
Preferences=RECORD
fontHeight:UByte;
printerPort:PrinterPort;
baudRate:CARDINAL;
keyRptSpeed:TimeVal;
keyRptDelay:TimeVal;
doubleClick:TimeVal;
pointerMatrix:ARRAY [0..pointerSize-1] OF CARDINAL;
xOffset:Byte;
yOffset:Byte;
color17:CARDINAL;
color18:CARDINAL;
color19:CARDINAL;
pointerTicks:CARDINAL;
color0:CARDINAL;
color1:CARDINAL;
color2:CARDINAL;
color3:CARDINAL;
viewXOffset:Byte;
viewYOffset:Byte;
viewInitX:INTEGER;
viewInitY:INTEGER;
enableCLI:BOOLEAN;
pad1:Byte;
printerType:PrinterType;
pad2:Byte;
printerFilename:ARRAY [0..filenameSize-1] OF CHAR;
printPitch:CARDINAL;
printQuality:CARDINAL;
printSpacing:CARDINAL;
printLeftMargin:CARDINAL;
printRightMargin:CARDINAL;
printImage:CARDINAL;
printAspect:CARDINAL;
printShade:CARDINAL;
printThreshold:INTEGER;
paperSize:CARDINAL;
paperLength:CARDINAL;
paperType:CARDINAL;
serRWBits:UByte;
serStopBuf:UByte;
serParShk:SerParShkSet;
laceWB:BOOLEAN;
workName:ARRAY [0..filenameSize-1] OF CHAR;
padding:ARRAY [0..15] OF BYTE;
END;
CONST
baud110=0;
baud300=1;
baud1200=2;
baud2400=3;
baud4800=4;
baud9600=5;
baud19200=6;
baudMidi=7;
pica=0H;
elite=0400H;
fine=0800H;
draft=0H;
letter=0100H;
sixLPI=0H;
eightLPI=0200H;
imagePositive=0;
imageNegative=1;
aspectHoriz=0;
aspectVert=1;
shadeBW=0;
shadeGreyscale=1;
shadeColor=2;
usLetter=0H;
usLegal=010H;
nTractor=020H;
wTractor=030H;
custom=040H;
fanfold=0H;
single=080H;
readBits=0F0H;
writeBits=0FH;
stopBits=0F0H;
bufSizeBits=0FH;
buf512=0;
buf1024=1;
buf2048=2;
buf4096=3;
buf8000=4;
buf16000=5;
TYPE
Remember=RECORD
nextRemember:RememberPtr;
rememberSize:LONGCARD;
memory:ADDRESS;
END;
CONST
deadendAlert=80000000H; recoveryAlert=0;
TYPE
DisplayMode=(hiresPick,lowresPick);
CONST
dModeCount=ORD(MAX(DisplayMode))+1;
eventMax=10;
TYPE
Res=(hiresGadget,lowresGadget);
CONST
resCount=ORD(MAX(Res))+1;
TYPE
Gadgets=(
upFrontGadget,downBackGadget,sizeGadget,closeGadget,
dragGadget,sUpFrontGadget,sDownBackGadget,sDragGadget
);
CONST
gadgetCount=ORD(MAX(Gadgets))+1;
TYPE
ILocks=(
iStateLock,layerInfoLock,gadgetsLock,layerRomLock,viewLock,
iBaseLock,rpLock
);
CONST
numILocks=ORD(MAX(ILocks))+1;
TYPE
FatIntuiMessage=RECORD
intuiMessage:IntuiMessage;
prevKeys:LONGCARD;
END;
IBox=RECORD
left:INTEGER;
top:INTEGER;
width:INTEGER;
height:INTEGER;
END;
Point=RECORD
x:INTEGER;
y:INTEGER;
END;
PenPair=RECORD
detailPen:UByte;
blockPen:UByte;
END;
GListEnv=RECORD
screen:ScreenPtr;
window:WindowPtr;
requester:RequesterPtr;
rastPort:RastPortPtr;
layer:LayerPtr;
gzzLayer:LayerPtr;
pens:PenPair;
domain:IBox;
gzzDims:IBox;
END;
GListEnvPtr=POINTER TO GListEnv;
GadgetInfo=RECORD
environ:GListEnvPtr;
gadget:GadgetPtr;
box:IBox;
container:IBox;
layer:LayerPtr;
newKnob:IBox;
END;
CONST
numIEvents=4;
TYPE
IntuitionBase=RECORD
libNode:Library;
viewLord:View;
activeWindow:WindowPtr;
activeScreen:ScreenPtr;
firstScreen:ScreenPtr;
flags:LONGSET;
mouseY:INTEGER;
mouseX:INTEGER;
seconds:LONGCARD;
micros:LONGCARD;
minXMouse:INTEGER;
maxXMouse:INTEGER;
minYMouse:INTEGER;
maxYMouse:INTEGER;
startSecs:LONGCARD;
startMicros:LONGCARD;
sysBase:ADDRESS;
gfxBase:GfxBasePtr;
layersBase:ADDRESS;
consoleDevice:ADDRESS;
aPointer:ADDRESS;
aPtrHeight:UByte;
aPtrWidth:[0..16];
aXOffset:UByte;
aYOffset:UByte;
menuDrawn:CARDINAL;
menuSelected:CARDINAL;
optionList:CARDINAL;
menuRPort:RastPort;
menuTmpRas:TmpRas;
itemCRect:ClipRect;
subCRect:ClipRect;
iBitMap:BitMap;
sBitMap:BitMap;
inputRequest:IOStdReq;
inputInterrupt:Interrupt;
eventKey:RememberPtr;
iEvents:ADDRESS;
eventCount:INTEGER;
ieBuffer:ARRAY [0..numIEvents-1] OF InputEvent;
activeGadget:GadgetPtr;
activePInfo:PropInfoPtr;
activeImage:ImagePtr;
gadgetEnv:GListEnv;
gadgetInfo:GadgetInfo;
knobOffset:Point;
getOKWindow:WindowPtr;
getOKMessage:IntuiMessagePtr;
setWExcept:CARDINAL;
gadgetReturn:CARDINAL;
stateReturn:CARDINAL;
rp:RastPortPtr;
iTmpRas:TmpRas;
oldClipRegion:RegionPtr;
oldScroll:Point;
iFrame:IBox;
hthick:INTEGER;
vthick:INTEGER;
frameChange:PROC;
sizeDrag:PROC;
firstPt:Point;
oldPt:Point;
sysGadgets:ARRAY Res,Gadgets OF GadgetPtr;
checkImage:ARRAY Res OF ImagePtr;
amigaIcon:ARRAY Res OF ImagePtr;
aPattern:ARRAY [0..7] OF CARDINAL;
bPattern:ARRAY [0..3] OF CARDINAL;
iPointer:ADDRESS;
iPtrHeight:UByte;
iPtrWidth:[0..16];
iXOffset:UByte;
iYOffset:UByte;
doubleSeconds:LONGINT;
doubleMicros:LONGINT;
wBorLeft,
wBorTop,
wBorRight,
wBorBottom,
barVBorder,
barHBorder,
menuVBorder,
menuHBorder:ARRAY DisplayMode OF Byte;
color0:CARDINAL;
color1:CARDINAL;
color2:CARDINAL;
color3:CARDINAL;
color17:CARDINAL;
color18:CARDINAL;
color19:CARDINAL;
sysFont:TextAttr;
preferences:PreferencesPtr;
echoes:ADDRESS;
viewInitX:INTEGER;
viewInitY:INTEGER;
cursorDX:INTEGER;
cursorDY:INTEGER;
keyMap:KeyMapPtr;
mouseYMinimum:INTEGER;
errorX:INTEGER;
errorY:INTEGER;
ioExcess:IOTimer;
holdMinYMouse:INTEGER;
wbPort:MsgPortPtr;
fnkuhdPort:MsgPortPtr;
wbMessage:IntuiMessage;
hitScreen:ScreenPtr;
simpleSprite:SimpleSpritePtr;
attachedSSprite:SimpleSpritePtr;
gotSpritel:BOOLEAN;
semaphoreList:List;
iSemaphore:ARRAY ILocks OF SignalSemaphore;
maxDisplayHeight:INTEGER;
maxDisplayRow:INTEGER;
reserved:ARRAY [0..7] OF LONGCARD;
END;
IntuitionBasePtr=POINTER TO IntuitionBase;
(*
* Die Prozedure AllocRemember, OpenScreen und OpenWindow
* haben eine VAR Parameter.
*)
PROCEDURE ActivateGadget(
gadget{8}:GadgetPtr;
window{9}:WindowPtr;
requester{10}:RequesterPtr):BOOLEAN; CODE -462;
PROCEDURE ActivateWindow(window{8}:WindowPtr); CODE -450;
PROCEDURE AddGadget(window{8}:WindowPtr;
gadget{9}:GadgetPtr;
position{0}:INTEGER):INTEGER; CODE -42;
PROCEDURE AddGList(
window{8}:WindowPtr;
gadget{9}:GadgetPtr;
position{0}:INTEGER;
numGad{1}:INTEGER;
requester{10}:RequesterPtr):INTEGER; CODE -438;
PROCEDURE AllocRemember(
VAR rememberKey{8}:ADDRESS;
size{0}:LONGCARD;
flags{1}:MemReqSet):ADDRESS; CODE -396;
PROCEDURE AlohaWorkbench(wbPort{8}:MsgPortPtr); CODE -402;
PROCEDURE AutoRequest(window{8}:WindowPtr;
bodyText{9}:IntuiTextPtr;
positiveText{10}:IntuiTextPtr;
negativeText{11}:IntuiTextPtr;
positiveFlags{0}:IDCMPFlagSet;
negativeFlags{1}:IDCMPFlagSet;
width{2}:INTEGER;
height{3}:INTEGER):BOOLEAN; CODE -348;
PROCEDURE BeginRefresh(window{8}:WindowPtr); CODE -354;
PROCEDURE BuildSysRequest(
window{8}:WindowPtr;
bodyText{9}:IntuiTextPtr;
positiveText{10}:IntuiTextPtr;
negativeText{11}:IntuiTextPtr;
idcmpFlags{0}:IDCMPFlagSet;
width{1}:INTEGER;
height{2}:INTEGER):WindowPtr; CODE -360;
PROCEDURE ClearDMRequest(
window{8}:WindowPtr):BOOLEAN; CODE -48;
PROCEDURE ClearMenuStrip(window{8}:WindowPtr); CODE -54;
PROCEDURE ClearPointer(window{8}:WindowPtr); CODE -60;
PROCEDURE CloseScreen(screen{8}:ScreenPtr); CODE -66;
PROCEDURE CloseWindow(window{8}:WindowPtr); CODE -72;
PROCEDURE CloseWorkBench():BOOLEAN; CODE -78;
PROCEDURE CurrentTime(seconds{8}:ADDRESS;
micros{9}:ADDRESS); CODE -84;
PROCEDURE DisplayAlert(alertNumber{0}:LONGCARD;
string{8}:ADDRESS;
height{1}:LONGCARD):BOOLEAN; CODE -90;
PROCEDURE DisplayBeep(screen{8}:ScreenPtr); CODE -96;
PROCEDURE DoubleClick(
startSecs{0}:LONGINT;
startMicros{1}:LONGINT;
currentSecs{2}:LONGINT;
currentMicros{3}:LONGINT):BOOLEAN; CODE -102;
PROCEDURE DrawBorder(rastPort{8}:RastPortPtr;
border{9}:BorderPtr;
leftOffset{0}:INTEGER;
topOffset{1}:INTEGER); CODE -108;
PROCEDURE DrawImage(rastPort{8}:RastPortPtr;
image{9}:ImagePtr;
leftOffset{0}:INTEGER;
topOffset{1}:INTEGER); CODE -114;
PROCEDURE EndRefresh(window{8}:WindowPtr;
complete{0}:BOOLEAN); CODE -366;
PROCEDURE EndRequest(requester{8}:RequesterPtr;
window{9}:WindowPtr); CODE -120;
PROCEDURE FreeRemember(rememberKey{8}:ADDRESS;
reallyForget{0}:BOOLEAN); CODE -408;
PROCEDURE FreeSysRequest(window{8}:WindowPtr); CODE -372;
PROCEDURE GetDefPrefs(prefBuffer{8}:PreferencesPtr;
size{0}:INTEGER); CODE -126;
PROCEDURE GetPrefs(prefBuffer{8}:PreferencesPtr;
size{0}:INTEGER); CODE -132;
PROCEDURE GetScreenData(
buffer{8}:ADDRESS;
size{0}:CARDINAL;
type{1}:ScreenFlagSet;
screen{9}:ScreenPtr):BOOLEAN; CODE -426;
PROCEDURE InitRequester(requester{8}:RequesterPtr); CODE -138;
PROCEDURE IntuiTextLength(
iText{8}:IntuiTextPtr):INTEGER; CODE -330;
PROCEDURE Intuition(inputEvent{8}:InputEventPtr); CODE -36;
PROCEDURE ItemAddress(
menuStrip{8}:MenuPtr;
menuNumber{0}:CARDINAL):MenuItemPtr; CODE -144;
PROCEDURE LockIBase(
lockNumber{0}:LONGCARD):LONGCARD; CODE -414;
PROCEDURE MakeScreen(screen{8}:ScreenPtr); CODE -378;
PROCEDURE ModifyIDCMP(window{8}:WindowPtr;
idcmpFlags{0}:IDCMPFlagSet); CODE -150;
PROCEDURE ModifyProp(gadget{8}:GadgetPtr;
window{9}:WindowPtr;
requester{10}:RequesterPtr;
flags{0}:PropInfoFlagSet;
horizPot{1}:CARDINAL;
vertPot{2}:CARDINAL;
horizBody{3}:CARDINAL;
vertBody{4}:CARDINAL); CODE -156;
PROCEDURE MoveScreen(screen{8}:ScreenPtr;
deltaX{0}:INTEGER;
deltaY{1}:INTEGER); CODE -162;
PROCEDURE MoveWindow(window{8}:WindowPtr;
deltaX{0}:INTEGER;
deltaY{1}:INTEGER); CODE -168;
PROCEDURE NewModifyProp(gadget{8}:GadgetPtr;
window{9}:WindowPtr;
requester{10}:RequesterPtr;
flags{0}:PropInfoFlagSet;
horizPot{1}:CARDINAL;
vertPot{2}:CARDINAL;
horizBody{3}:CARDINAL;
vertBody{4}:CARDINAL;
numGad{5}:INTEGER); CODE -468;
PROCEDURE OffGadget(gadget{8}:GadgetPtr;
window{9}:WindowPtr;
requester{10}:RequesterPtr); CODE -174;
PROCEDURE OffMenu(window{8}:WindowPtr;
menuNumber{0}:CARDINAL); CODE -180;
PROCEDURE OnGadget(gadget{8}:GadgetPtr;
window{9}:WindowPtr;
requester{10}:RequesterPtr); CODE -186;
PROCEDURE OnMenu(window{8}:WindowPtr;
menuNumber{0}:CARDINAL); CODE -192;
PROCEDURE OpenIntuition():IntuitionBasePtr; CODE -30;
PROCEDURE OpenScreen(
VAR newScreen{8}:NewScreen):ScreenPtr; CODE -198;
PROCEDURE OpenWindow(
VAR newWindow{8}:NewWindow):WindowPtr; CODE -204;
PROCEDURE OpenWorkBench():ScreenPtr; CODE -210;
PROCEDURE PrintIText(rastPort{8}:RastPortPtr;
iText{9}:IntuiTextPtr;
leftOffset{0}:INTEGER;
topOffset{1}:INTEGER); CODE -216;
PROCEDURE RefreshGadgets(
gadgets{8}:GadgetPtr;
window{9}:WindowPtr;
requester{10}:RequesterPtr); CODE -222;
PROCEDURE RefreshGList(gadgets{8}:GadgetPtr;
window{9}:WindowPtr;
requester{10}:RequesterPtr;
numGad{0}:INTEGER); CODE -432;
PROCEDURE RefreshWindowFrame(window{8}:WindowPtr); CODE -456;
PROCEDURE RemakeDisplay(); CODE -384;
PROCEDURE RemoveGadget(
window{8}:WindowPtr;
gadget{9}:GadgetPtr):INTEGER; CODE -228;
PROCEDURE RemoveGList(window{8}:WindowPtr;
gadget{9}:GadgetPtr;
numgad{0}:INTEGER):INTEGER; CODE -444;
PROCEDURE ReportMouse(window{8}:WindowPtr;
boolean{0}:BOOLEAN); CODE -234;
PROCEDURE Request(requester{8}:RequesterPtr;
window{9}:WindowPtr):BOOLEAN; CODE -240;
PROCEDURE RethinkDisplay(); CODE -390;
PROCEDURE ScreenToBack(screen{8}:ScreenPtr); CODE -246;
PROCEDURE ScreenToFront(screen{8}:ScreenPtr); CODE -252;
PROCEDURE SetDMRequest(
window{8}:WindowPtr;
dmRequester{9}:RequesterPtr):BOOLEAN; CODE -258;
PROCEDURE SetMenuStrip(window{8}:WindowPtr;
menu{9}:MenuPtr):BOOLEAN; CODE -264;
PROCEDURE SetPointer(window{8}:WindowPtr;
pointer{9}:ADDRESS;
height{0}:INTEGER;
width{1}:INTEGER;
xOffset{2}:INTEGER;
yOffset{3}:INTEGER); CODE -270;
PROCEDURE SetPrefs(prefBuffer{8}:PreferencesPtr;
Size{0}:INTEGER;
Inform{1}:BOOLEAN); CODE -324;
PROCEDURE SetWindowTitles(
window{8}:WindowPtr;
windowTitle{9}:ADDRESS;
screenTitle{10}:ADDRESS); CODE -276;
PROCEDURE ShowTitle(screen{8}:ScreenPtr;
showIt{0}:BOOLEAN); CODE -282;
PROCEDURE SizeWindow(window{8}:WindowPtr;
deltaX{0}:INTEGER;
deltaY{1}:INTEGER); CODE -288;
PROCEDURE UnlockIBase(lock{8}:LONGCARD); CODE -420;
PROCEDURE ViewAddress():ViewPtr; CODE -294;
PROCEDURE ViewPortAddress(
window{8}:WindowPtr):ViewPortPtr; CODE -300;
PROCEDURE WBenchToBack():BOOLEAN; CODE -336;
PROCEDURE WBenchToFront():BOOLEAN; CODE -342;
(*
* Den Paramentern maxWidth und maxHeight darf man auch den
* Wert -1 zuweisen, falls man die Window Grösse nicht
* beschränken will. Damit dies nicht zu einem Laufzeitfehler
* führt wurden diese Parameter im Gegensatz zu den
* C Deklarationen als INTEGER und nicht als CARDINAL
* deklariert.
*)
PROCEDURE WindowLimits(
window{8}:WindowPtr;
minWidth{0}:INTEGER;
minHeight{1}:INTEGER;
maxWidth{2}:INTEGER;
maxHeight{3}:INTEGER):BOOLEAN; CODE -318;
PROCEDURE WindowToBack(window{8}:WindowPtr); CODE -306;
PROCEDURE WindowToFront(window{8}:WindowPtr); CODE -312;
END Intuition.